function initUploader1(i) {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd'+i,
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img'+i).val(response.data.filename).focus();

        $("#fileList"+i).css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader1(i);


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
/*
function initUploader2() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd2',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img2').val(response.data.filename).focus();

        $("#fileList2").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader2();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader3() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd3',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img3').val(response.data.filename).focus();

        $("#fileList3").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader3();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader4() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd4',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img4').val(response.data.filename).focus();

        $("#fileList4").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader4();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader5() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd5',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img5').val(response.data.filename).focus();

        $("#fileList5").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader6() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd6',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img6').val(response.data.filename).focus();

        $("#fileList6").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader6();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader7() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd7',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img7').val(response.data.filename).focus();

        $("#fileList7").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader7();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader8() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd8',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img8').val(response.data.filename).focus();

        $("#fileList8").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader8();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader9() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd9',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img9').val(response.data.filename).focus();

        $("#fileList9").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader10() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd10',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img10').val(response.data.filename).focus();

        $("#fileList10").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader10();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader11() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd11',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img11').val(response.data.filename).focus();

        $("#fileList11").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader11();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader12() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd12',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img12').val(response.data.filename).focus();

        $("#fileList12").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader12();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader13() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd13',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img13').val(response.data.filename).focus();

        $("#fileList13").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader13();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader14() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd14',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img14').val(response.data.filename).focus();

        $("#fileList14").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader15() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd15',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img15').val(response.data.filename).focus();

        $("#fileList15").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader15();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader16() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd16',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img16').val(response.data.filename).focus();

        $("#fileList16").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader16();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader17() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd17',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img17').val(response.data.filename).focus();

        $("#fileList17").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader17();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader18() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd18',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img18').val(response.data.filename).focus();

        $("#fileList18").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader18();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader19() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd19',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img19').val(response.data.filename).focus();

        $("#fileList19").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader19();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}
function initUploader20() {
    //百度上传按钮

    var uploader = WebUploader.create({
        // swf文件路径
        swf: '../webuploader-0.1.5/Uploader.swf',
        // 文件接收服务端
        method: 'POST',
        // 选择文件的按钮。可选。
        // 内部根据当前运行是创建，可能是input元素，也可能是flash.
        pick: {
            "id": '#filePickerd20',
            "multiple": true
        },
        // 不压缩image, 默认如果是jpeg，文件上传前会压缩一把再上传！
        resize: false,
        // 选完文件后，是否自动上传。
        auto: false,
        // 只允许选择图片文件
        accept: {
            title: '图片文件',
            extensions: 'gif,jpg,jpeg,bmp,png',
            mimeTypes: 'image/!*'
        }
    });
    uploader.on('fileQueued', function (file) {
        $.ajax({
            url: 'http://easyjiang.huizhuangfang.com.cn/aliyun/oss/policy',
            type: 'GET',
            dataType: 'jsonp',
            jsonp: 'callback',
            success: function (result) {
                var suffix = get_suffix(file.name);
                var random_name = random_string();
                uploader.options.formData.key = result.dir + '/' + random_name + suffix;
                uploader.options.formData.policy = result.policy;
                uploader.options.formData.OSSAccessKeyId = result.OSSAccessKeyId;
                uploader.options.formData.success_action_status = 200;
                uploader.options.formData.callback = result.callback;
                uploader.options.formData.signature = result.signature;
                uploader.options.server = result.action;
                uploader.upload();
            },
            error: function (msg) {
                console.log(msg);
            }
        });
    });
    uploader.on('uploadSuccess', function (file, response) {

        $('#img20').val(response.data.filename).focus();

        $("#fileList20").css("background-image", 'url("' + response.data.filename + '")');
        uploader.destroy();
        initUploader20();


    });
    uploader.on('uploadError', function (file) {
        console.log('uploadError', file);
    });
}*/
